package app.modules.cloudpivot.aspect;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.authine.cloudpivot.platform.integration.BizBusExtensionService;

/**
 * 自定义业务集成方法扩展逻辑
 *
 * @author LiuGangQiang Create in 2025/11/14
 */
public class CustomBizBusExtensionServiceImpl implements BizBusExtensionService {
    private static final Logger LOG = LoggerFactory.getLogger(CustomBizBusExtensionServiceImpl.class);

    @Override
    public void transferArgs(String serviceCode, String methodCode, Map<String, Object> args) {
        LOG.info("===>>这里可以修改业务集成的参数 服务编码：{} 方法编码：{} 参数数据：{}", serviceCode, methodCode, args);
    }

    @Override
    public void transferReturns(String serviceCode, String methodCode, Object result) {
        LOG.info("===>>这里可以修改业务集成的结果 服务编码：{} 方法编码：{} 结果类型：{} 结果数据：{}", serviceCode, methodCode, result.getClass().getCanonicalName(), result);
    }
}
